//
//  LYLAFNetWorking.h
//  TheLCNews
//
//  Created by dllo on 15/11/26.
//  Copyright © 2015年 LCandLYL. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AFNData)(id result);

@interface LYLAFNetWorking : NSObject


// GET
// 参数1: string URL
// 参数2 :  block  返回任意类型数据
+ (void)GETURLByString:(NSString*)string AFData:(AFNData)block;



// POST
// string URL
// block  返回任意类型数据

+ (void)POSTURLString:(NSString *)string bodyByDic:(NSDictionary*)dic AfData:(AFNData)block;
@end
